package com.common.help.test07;

public class Test1 {

	static void tune(Inse inse){
		inse.play(Note.note1);
	}
	public static void main(String[] args) {
		Wind wind = new Wind();
		Test1.tune(wind);
	}
	
}
class Note{
	private int value;
	
	static final Note note1 = new Note(0);
	static final Note note2 = new Note(1);
	static final Note note3 = new Note(2);
	
	public Note(int i){
		System.out.println("Note()---  "+i);
		this.value = i;
	}
}
class Inse{
	
	public void play(Note n){
		System.out.println("inse......");
	}
}
class Wind extends Inse{
	
	public void play(Note n){
		System.out.println("Wind......");
	}
	
}
